<div><?php echo $this->session->flashdata('usuario');?></div>
<div id="titulo">Edit Datos Compa&ntilde;ias Disponible</div>
<?php echo form_open('disponible/save', array('name' => 'addusuarios','id' => 'commentForm'));?>

 <table class="tablaform" width="100%" border="0">

  <tr>
 <td><b>A&ntilde;os</b></td>
 <td>
    <select name="anos">
         <?php 
            for ($j = 2009; $j <= 2020;$j++)
            {
            	if ($registro->getAnos() == $j) {
         		echo '<option value="'.$j.'" selected="selected">'.$j.'</option>';
         	}else{
         		echo '<option value="'.$j.'">'.$j.'</option>';
         	}
            }
         
         ?>
          <option value="2009" >2009</option>
          <option value="2010">2010</option>
          <option value="2011">2011</option>
          <option value="2012">2012</option>
          <option value="2013">2013</option>
          <option value="2014">2014</option>
          <option value="2015">2015</option>
   
    </select>
 
 </td>
 </tr>

  <tr>
 <td><b>WK</b></td>
 <td>
 <input type="hidden" name="id" value="<?php echo $registro->getId();?>"> 
    <select name="wk">
       <?php 
         for ($i = 1; $i <= 52; $i++)
         {
         	if ($registro->getWk() == $i) {
         		echo '<option value="'.$i.'" selected="selected">'.$i.'</option>';
         	}else{
         		echo '<option value="'.$i.'">'.$i.'</option>';
         	}
         	
         }
       
       ?>
             
    </select>
 
 </td>
 </tr> 


 <tr>
 <td><b>Disponible</b></td>
 <td><input type="text" name="presupuesto"  size="12" value="<?php echo $registro->getId();?>"/></td>
 </tr>
 

 
 <tr>
 <td><input type="submit" value="Edit" align="center"/></td>
 <td><a href="<?php echo site_url().'/disponible' ?>"><input type="button" value="Atras" align="center"/></a></td>
 </tr>
 </table>